package cate.common.table.activity.heroup;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "英雄UP召唤-海报")
public class HeroUpPostRow extends ERow {
    @NoteField(value = "奖励")
    public String reward;
    @NoteField(value = "消耗碎钻")
    public int costM1;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("配置ID");
        this.reward = xrw.getString("奖励","");
        this.costM1 = xrw.getInteger("消耗碎钻",2000);
    }
}
